---
title: Brandfetch Tools
---

## Code

```python cookbook/tools/brandfetch_tools.py
from agno.agent import Agent
from agno.tools.brandfetch import BrandfetchTools

agent = Agent(
    instructions=[
        "You are a brand research assistant that helps find brand information",
        "Use Brandfetch to retrieve logos, colors, and other brand assets",
        "Provide comprehensive brand information when requested",
    ],
    tools=[BrandfetchTools()],
    markdown=True,
)

agent.print_response("Find brand information for Apple Inc.")
```

## Usage

<Steps>
  <Snippet file="create-venv-step.mdx" />

  <Step title="Set your API keys">
    ```bash
    export BRANDFETCH_API_KEY=your-brandfetch-api-key
    export OPENAI_API_KEY=xxx
    ```
  </Step>

  <Step title="Install libraries">
    ```bash
    pip install -U httpx openai agno
    ```
  </Step>

  <Step title="Run Agent">
    <CodeGroup>
    ```bash Mac
    python cookbook/tools/brandfetch_tools.py
    ```

    ```bash Windows
    python cookbook/tools/brandfetch_tools.py
    ```
    </CodeGroup>
  </Step>
</Steps>
